package com.wxq.shape;

import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.Path;

public abstract class MapShape implements DrawShape {

	float xOffset=0;
	float yOffset=0;
	
	protected Path drawPath;
	
	public Path getDrawPath() {
		return drawPath;
	}

	public void setDrawPath(Path mPath) {
		this.drawPath = mPath;
	}
	
	public float getxOffset() {
		return xOffset;
	}

	public float getyOffset() {
		return yOffset;
	}

	@Override
	public void offset(float xOffset, float yOffset) {
		// TODO Auto-generated method stub
		this.xOffset = xOffset;
		this.yOffset = yOffset;
	}
	
	@Override
	public void zoom(Matrix scale) {
		
	}
	
	public abstract void draw(Canvas canvas, Paint paint) ;

}
